package com.link.base.base.expenseapplication.dao.mybatis.mapper;

import com.link.base.base.expenseapplication.model.ApplicationStore;
import com.link.base.base.expenseapplication.model.ApplicationStoreDTO;
import com.link.core.basic.dao.mapper.BasicMapper;

import java.util.List;

/**
 * 费用申请-门店-费用申请-门店表
 *
 * @author 黄正杨
 * @date 2019/04/16 19:06
 */
public interface ApplicationStoreMapper extends BasicMapper<ApplicationStore> {
    /**
     * 根据申请头id获取用于汇总的门店数据
     *
     * @author 朱泊阳
     * @date 2019/04/16 19:06
     * @param list 申请头Id的集合
     * @return List
     * @throws Exception
     */
    List<ApplicationStoreDTO> queryByApplicationIds(List<Long> list) throws Exception;
}
